package com.im.netty.protocol;

public class LoginResponsePacket extends Packet {

	private boolean success;

	private String reason;
	
	private String userId;
	
	private String userName;
	
	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	@Override
	public Byte getCommand() {
		return Command.LOGIN_RESPONSE;
	}
}
